<meta charset="utf-8">
<div data-page="signin" class="page navbar-through no-toolbar">
	<div class="navbar">
		<div class="navbar-inner">
			<div class="left">
				<a href="#" class="link back icon-only"><i class="ti-arrow-circle-left"></i></a>
			</div>
			<div class="center">我的考勤</div>
			<div class="right"></div>
			<!-- <div class="subnavbar">
				<div class="buttons-row">
					<a href="#" class="button prev" current="">上一月</a>
					<a class="button active"></a>
					<a href="#" class="button next" current="">下一月</a>
				</div>
			</div> -->
		</div>
	</div>
	
	<div class="page-content">
		<div class="content-block">
			<form class="external">
			<div class="row">
				<div class="col-50">
					<a href="#" api-path="/mobile/signin" class="button button-fill button-big color-cyan <% if (!(signin && signin.signinTime)) { %>sails-btn-submit<% } %>">
					出勤 
					<% if (signin && signin.signinTime) { %>
						<%=sails.formatShortTime(signin.signinTime)%>
					<% }%>
					</a>
				</div>
				<div class="col-50">
					<a href="#" api-path="/mobile/signin?action=out" class="button button-fill button-big color-red <% if (!(signin && signin.signoutTime)) { %>sails-btn-submit<% } %>">
					退勤 
					<% if (signin && signin.signoutTime) { %>
						<%=sails.formatShortTime(signin.signoutTime)%>
					<% }%>
					</a>
				</div>
			</div>
			</form>
		</div>
		<div class="content-block">
			<div style="padding:0; margin-right:-15px; width:auto" class="content-block-inner">
				<div id="calendar-inline-container"></div>
			</div>
		</div> 
	</div>
	
</div>